import { USER_INFO } from '../../actionTypes'
const initialState = {}

export default (state = initialState, { type, payload }) => {
  switch(type) {
    case USER_INFO:
      return { ...state, ...payload };
      default:
        return state
  }
}